// JavaScript Document
$package("boc.util");
boc.util.ExtForm = ExtForm;
$ef = ExtForm.prototype;
$import("Ext.form.TextField");
$import("Ext.form.TimeField");
$import("Ext.form.DateField");
$import("Ext.form.NumberField");
$import("Ext.form.Radio");
$import("Ext.Button");
$import("Ext.ComboBox");
function ExtForm(){
	
}

$ef.insertField = function(params){
	var obj = new Ext.form.TextField(params);
	return obj;
}

$ef.insertTextArea = function(params){
	var obj = new Ext.form.TextArea(params);
	return obj;
}

$ef.insertButton = function(params){
	var obj = new Ext.Button(params);
	return obj;
}

$ef.insertTimeField = function(params){
	var obj = new Ext.form.TimeField(params);
	return obj;
}

$ef.insertNumField = function(params){
	var obj = new Ext.form.NumberField(params);
	return obj;
}

$ef.insertDateField = function(params){
	var obj = new Ext.form.DateField(params);
	return obj;
}

$ef.insertRadio = function(params){
	var obj = new Ext.form.Radio(params);
	return obj;
}

$ef.insertComboBox = function(params){
	var obj = new Ext.form.ComboBox(params);
	return obj;
}

